package com.gmy.service;

import com.gmy.mapper.UserMapper;
import com.gmy.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @version 1.0
 * @Description:
 * @Author 6
 * @Date 2021/8/25 16:04
 */
@Service
public class UserServiceImpl implements UserService{
    @Autowired
    public UserMapper userMapper;

    @Override
    public User getUserByName(String name) {
        return userMapper.getUserByName(name);

    }
}
